package com.youbug.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.youbug.common.config.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 官网卡片存储表
 * </p>
 *
 * @author youbug
 * @since 2023-04-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Card对象", description="官网卡片存储表")
public class Card extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "图片url")
    private String url;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "是否有效 1：有效；0：无效")
    private Integer valid;


}
